<template>
  <el-container>
    <el-header>
      <Nav class="app-nav" />
    </el-header>
    <el-main>
      <div class="shit" v-if="$route.path !== '/'"></div>
      <router-view />
    </el-main>
  </el-container>
</template>


<script>
import Nav from "./components/nav";
import logLogo from "./utils/logLogo.js";

export default {
  data() {
    return {
      transitionName: ''
    }
  },
  components: {
    Nav
  },
  created() {
    logLogo();
  }
};
</script>


<style>
body {
  padding: 0;
  margin: 0;
  font-family: sans-serif;
}
</style>

<style scoped>
.shit {
  height: 60px;
}
.el-header {
  padding: 0;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  /* z-index: 100; */
  z-index: 5;
}
.el-main {
  height: 100%;
  padding: 0;
}
</style>
